Swapping Values of Two Different Variables in programming